import request from '@/utils/request.js';

export const foreignClassListService = (params) => {
  return request.get('/foreign-class', { params });
};

export const foreignClassAddService = (data) => {
  return request.post('/foreign-class', data);
};

export const foreignClassUpdateService = (data) => {
  return request.put('/foreign-class', data);
};

export const foreignClassDeleteService = (id) => {
  return request.delete(`/foreign-class/${id}`);
};
